const IS_PROD = ['production', 'prod', 'sso-production'].includes(process.env.NODE_ENV);

const plugins = [];
if (IS_PROD) {
  plugins.push('transform-remove-console');
}

module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins
};
